const router = require('koa-router')()

router.prefix('/apps')

router.get('/', function (ctx, next) {
  ctx.body = 'this is a apps response!'
})

router.post('/check/version', async (ctx, next) => {
    console.log(ctx.request.body)
    ctx.body = {
        status:2,
        url:"https://zriwant.oss-cn-shanghai.aliyuncs.com/underground/__UNI__CFB4260__20210804131354.apk"
    }
})

module.exports = router
